package com.bishe.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 申请
 * @date 2022/03/20 41:08:41
 */
@Data
public class Apply implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("标题")
    private String title;


    @ApiModelProperty("内容")
    private String content;


    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createBy;


    @ApiModelProperty("创建人名")
    private String createByName;

    @ApiModelProperty("状态(0未审批 1通过 2未通过)")
    private String status;
}
